removeOnCommandListener

Unregisters a previously added OnCommandListener.

After this call, the specified listener will no longer receive command events. If the given listener was not previously registered, this method has no effect. Use the same listener instance that was passed to addOnCommandListener.

Parameters

listener

The non-null OnCommandListener instance to unregister.

See also

Throws

if listener is null.